﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace QLNHDAO
{
    public class NhomSanPhamDAO:Repository<NhomSanPham>
    {
        public NhomSanPham GetByID(int manhomsanpham)
        {
            return All().Where(m => m.MaNhomSanPham == manhomsanpham).Single();
        }
    }
}
